<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>shop_list</title>
</head>
<body>
	<table border="1" cellspacing="1">
		<tr>
			<th>id</th>
			<th>name</th>
			<th>title</th>
			<th>address</th>
			<th>time</th>
			<th>action</th>
		</tr>
	    <foreach name='list' item='vo'>
			<tr>
				<td><{$vo.id}></td>
				<td><{$vo.shopname}></td>
				<td><{$vo.title}></td>
				<td><{$vo.address}></td>
				<td><{$vo.worktime_start}>--<{$vo.worktime_end}></td>
				<td>
					<a href="<{:U('index/edit_shop',array('id'=>$vo['id']))}>">编辑</a>
					<a href="<{:U('index/del_shop',array('id'=>$vo['id']))}>">删除</a>
				</td>
			</tr>
	    </foreach>	
	</table>
</body>
</html>